package br.com.ss.portal.model.dao;

import javax.inject.Inject;

import org.hibernate.SessionFactory;
import org.springframework.orm.hibernate3.HibernateTemplate;
import org.springframework.stereotype.Repository;

import br.com.ss.portal.model.entity.Responsavel;

@Repository
public class ResponsavelDAO extends HibernateDAOGeneric<Responsavel> implements
		IResponsavelDAO {

	@SuppressWarnings("unused")
	private HibernateTemplate hibernateTemplate;

	@Inject
	public ResponsavelDAO(SessionFactory sessionFactory) {
		hibernateTemplate = this.createHibernateTemplate(sessionFactory);
		super.setHibernateTemplate(super
				.createHibernateTemplate(sessionFactory));
	}

}
